@set VDIRNAME=PayPal_WPS_ToolKit 
@echo off
CreateVirtualDirectory %VDIRNAME% .
echo Register the Cryptograpy API COM Component 
Regsvr32 CryptoAPIComponent\capicom.dll /s
if ERRORLEVEL == 9009 goto notfound
iisreset
explorer http://localhost/%VDIRNAME%
goto end
:notfound
echo Could not execute winhttpcertcfg.exe.  Please make sure it is in your path.
goto end
:end
